package com.jinghua.treatment.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PrescriptionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public PrescriptionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("`id` is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("`id` is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("`id` =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("`id` <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("`id` >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("`id` >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("`id` <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("`id` <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("`id` in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("`id` not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("`id` between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("`id` not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSuffererNameIsNull() {
            addCriterion("`sufferer_name` is null");
            return (Criteria) this;
        }

        public Criteria andSuffererNameIsNotNull() {
            addCriterion("`sufferer_name` is not null");
            return (Criteria) this;
        }

        public Criteria andSuffererNameEqualTo(String value) {
            addCriterion("`sufferer_name` =", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameNotEqualTo(String value) {
            addCriterion("`sufferer_name` <>", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameGreaterThan(String value) {
            addCriterion("`sufferer_name` >", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameGreaterThanOrEqualTo(String value) {
            addCriterion("`sufferer_name` >=", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameLessThan(String value) {
            addCriterion("`sufferer_name` <", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameLessThanOrEqualTo(String value) {
            addCriterion("`sufferer_name` <=", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameLike(String value) {
            addCriterion("`sufferer_name` like", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameNotLike(String value) {
            addCriterion("`sufferer_name` not like", value, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameIn(List<String> values) {
            addCriterion("`sufferer_name` in", values, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameNotIn(List<String> values) {
            addCriterion("`sufferer_name` not in", values, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameBetween(String value1, String value2) {
            addCriterion("`sufferer_name` between", value1, value2, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererNameNotBetween(String value1, String value2) {
            addCriterion("`sufferer_name` not between", value1, value2, "suffererName");
            return (Criteria) this;
        }

        public Criteria andSuffererSexIsNull() {
            addCriterion("`sufferer_sex` is null");
            return (Criteria) this;
        }

        public Criteria andSuffererSexIsNotNull() {
            addCriterion("`sufferer_sex` is not null");
            return (Criteria) this;
        }

        public Criteria andSuffererSexEqualTo(String value) {
            addCriterion("`sufferer_sex` =", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexNotEqualTo(String value) {
            addCriterion("`sufferer_sex` <>", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexGreaterThan(String value) {
            addCriterion("`sufferer_sex` >", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexGreaterThanOrEqualTo(String value) {
            addCriterion("`sufferer_sex` >=", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexLessThan(String value) {
            addCriterion("`sufferer_sex` <", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexLessThanOrEqualTo(String value) {
            addCriterion("`sufferer_sex` <=", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexLike(String value) {
            addCriterion("`sufferer_sex` like", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexNotLike(String value) {
            addCriterion("`sufferer_sex` not like", value, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexIn(List<String> values) {
            addCriterion("`sufferer_sex` in", values, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexNotIn(List<String> values) {
            addCriterion("`sufferer_sex` not in", values, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexBetween(String value1, String value2) {
            addCriterion("`sufferer_sex` between", value1, value2, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererSexNotBetween(String value1, String value2) {
            addCriterion("`sufferer_sex` not between", value1, value2, "suffererSex");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeIsNull() {
            addCriterion("`sufferer_age` is null");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeIsNotNull() {
            addCriterion("`sufferer_age` is not null");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeEqualTo(String value) {
            addCriterion("`sufferer_age` =", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeNotEqualTo(String value) {
            addCriterion("`sufferer_age` <>", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeGreaterThan(String value) {
            addCriterion("`sufferer_age` >", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeGreaterThanOrEqualTo(String value) {
            addCriterion("`sufferer_age` >=", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeLessThan(String value) {
            addCriterion("`sufferer_age` <", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeLessThanOrEqualTo(String value) {
            addCriterion("`sufferer_age` <=", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeLike(String value) {
            addCriterion("`sufferer_age` like", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeNotLike(String value) {
            addCriterion("`sufferer_age` not like", value, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeIn(List<String> values) {
            addCriterion("`sufferer_age` in", values, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeNotIn(List<String> values) {
            addCriterion("`sufferer_age` not in", values, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeBetween(String value1, String value2) {
            addCriterion("`sufferer_age` between", value1, value2, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andSuffererAgeNotBetween(String value1, String value2) {
            addCriterion("`sufferer_age` not between", value1, value2, "suffererAge");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameIsNull() {
            addCriterion("`disease_name` is null");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameIsNotNull() {
            addCriterion("`disease_name` is not null");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameEqualTo(String value) {
            addCriterion("`disease_name` =", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameNotEqualTo(String value) {
            addCriterion("`disease_name` <>", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameGreaterThan(String value) {
            addCriterion("`disease_name` >", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameGreaterThanOrEqualTo(String value) {
            addCriterion("`disease_name` >=", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameLessThan(String value) {
            addCriterion("`disease_name` <", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameLessThanOrEqualTo(String value) {
            addCriterion("`disease_name` <=", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameLike(String value) {
            addCriterion("`disease_name` like", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameNotLike(String value) {
            addCriterion("`disease_name` not like", value, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameIn(List<String> values) {
            addCriterion("`disease_name` in", values, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameNotIn(List<String> values) {
            addCriterion("`disease_name` not in", values, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameBetween(String value1, String value2) {
            addCriterion("`disease_name` between", value1, value2, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andDiseaseNameNotBetween(String value1, String value2) {
            addCriterion("`disease_name` not between", value1, value2, "diseaseName");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdIsNull() {
            addCriterion("`prescription_usual_id` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdIsNotNull() {
            addCriterion("`prescription_usual_id` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdEqualTo(String value) {
            addCriterion("`prescription_usual_id` =", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdNotEqualTo(String value) {
            addCriterion("`prescription_usual_id` <>", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdGreaterThan(String value) {
            addCriterion("`prescription_usual_id` >", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdGreaterThanOrEqualTo(String value) {
            addCriterion("`prescription_usual_id` >=", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdLessThan(String value) {
            addCriterion("`prescription_usual_id` <", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdLessThanOrEqualTo(String value) {
            addCriterion("`prescription_usual_id` <=", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdLike(String value) {
            addCriterion("`prescription_usual_id` like", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdNotLike(String value) {
            addCriterion("`prescription_usual_id` not like", value, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdIn(List<String> values) {
            addCriterion("`prescription_usual_id` in", values, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdNotIn(List<String> values) {
            addCriterion("`prescription_usual_id` not in", values, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdBetween(String value1, String value2) {
            addCriterion("`prescription_usual_id` between", value1, value2, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionUsualIdNotBetween(String value1, String value2) {
            addCriterion("`prescription_usual_id` not between", value1, value2, "prescriptionUsualId");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountIsNull() {
            addCriterion("`prescription_count` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountIsNotNull() {
            addCriterion("`prescription_count` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountEqualTo(String value) {
            addCriterion("`prescription_count` =", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountNotEqualTo(String value) {
            addCriterion("`prescription_count` <>", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountGreaterThan(String value) {
            addCriterion("`prescription_count` >", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountGreaterThanOrEqualTo(String value) {
            addCriterion("`prescription_count` >=", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountLessThan(String value) {
            addCriterion("`prescription_count` <", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountLessThanOrEqualTo(String value) {
            addCriterion("`prescription_count` <=", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountLike(String value) {
            addCriterion("`prescription_count` like", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountNotLike(String value) {
            addCriterion("`prescription_count` not like", value, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountIn(List<String> values) {
            addCriterion("`prescription_count` in", values, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountNotIn(List<String> values) {
            addCriterion("`prescription_count` not in", values, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountBetween(String value1, String value2) {
            addCriterion("`prescription_count` between", value1, value2, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andPrescriptionCountNotBetween(String value1, String value2) {
            addCriterion("`prescription_count` not between", value1, value2, "prescriptionCount");
            return (Criteria) this;
        }

        public Criteria andHowToUseIsNull() {
            addCriterion("`how_to_use` is null");
            return (Criteria) this;
        }

        public Criteria andHowToUseIsNotNull() {
            addCriterion("`how_to_use` is not null");
            return (Criteria) this;
        }

        public Criteria andHowToUseEqualTo(String value) {
            addCriterion("`how_to_use` =", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseNotEqualTo(String value) {
            addCriterion("`how_to_use` <>", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseGreaterThan(String value) {
            addCriterion("`how_to_use` >", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseGreaterThanOrEqualTo(String value) {
            addCriterion("`how_to_use` >=", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseLessThan(String value) {
            addCriterion("`how_to_use` <", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseLessThanOrEqualTo(String value) {
            addCriterion("`how_to_use` <=", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseLike(String value) {
            addCriterion("`how_to_use` like", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseNotLike(String value) {
            addCriterion("`how_to_use` not like", value, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseIn(List<String> values) {
            addCriterion("`how_to_use` in", values, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseNotIn(List<String> values) {
            addCriterion("`how_to_use` not in", values, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseBetween(String value1, String value2) {
            addCriterion("`how_to_use` between", value1, value2, "howToUse");
            return (Criteria) this;
        }

        public Criteria andHowToUseNotBetween(String value1, String value2) {
            addCriterion("`how_to_use` not between", value1, value2, "howToUse");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntIsNull() {
            addCriterion("`prescription_day_cnt` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntIsNotNull() {
            addCriterion("`prescription_day_cnt` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntEqualTo(Integer value) {
            addCriterion("`prescription_day_cnt` =", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntNotEqualTo(Integer value) {
            addCriterion("`prescription_day_cnt` <>", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntGreaterThan(Integer value) {
            addCriterion("`prescription_day_cnt` >", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntGreaterThanOrEqualTo(Integer value) {
            addCriterion("`prescription_day_cnt` >=", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntLessThan(Integer value) {
            addCriterion("`prescription_day_cnt` <", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntLessThanOrEqualTo(Integer value) {
            addCriterion("`prescription_day_cnt` <=", value, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntIn(List<Integer> values) {
            addCriterion("`prescription_day_cnt` in", values, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntNotIn(List<Integer> values) {
            addCriterion("`prescription_day_cnt` not in", values, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntBetween(Integer value1, Integer value2) {
            addCriterion("`prescription_day_cnt` between", value1, value2, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionDayCntNotBetween(Integer value1, Integer value2) {
            addCriterion("`prescription_day_cnt` not between", value1, value2, "prescriptionDayCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntIsNull() {
            addCriterion("`prescription_time_cnt` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntIsNotNull() {
            addCriterion("`prescription_time_cnt` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntEqualTo(Integer value) {
            addCriterion("`prescription_time_cnt` =", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntNotEqualTo(Integer value) {
            addCriterion("`prescription_time_cnt` <>", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntGreaterThan(Integer value) {
            addCriterion("`prescription_time_cnt` >", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntGreaterThanOrEqualTo(Integer value) {
            addCriterion("`prescription_time_cnt` >=", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntLessThan(Integer value) {
            addCriterion("`prescription_time_cnt` <", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntLessThanOrEqualTo(Integer value) {
            addCriterion("`prescription_time_cnt` <=", value, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntIn(List<Integer> values) {
            addCriterion("`prescription_time_cnt` in", values, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntNotIn(List<Integer> values) {
            addCriterion("`prescription_time_cnt` not in", values, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntBetween(Integer value1, Integer value2) {
            addCriterion("`prescription_time_cnt` between", value1, value2, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeCntNotBetween(Integer value1, Integer value2) {
            addCriterion("`prescription_time_cnt` not between", value1, value2, "prescriptionTimeCnt");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateIsNull() {
            addCriterion("`prescription_state` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateIsNotNull() {
            addCriterion("`prescription_state` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateEqualTo(Boolean value) {
            addCriterion("`prescription_state` =", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateNotEqualTo(Boolean value) {
            addCriterion("`prescription_state` <>", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateGreaterThan(Boolean value) {
            addCriterion("`prescription_state` >", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateGreaterThanOrEqualTo(Boolean value) {
            addCriterion("`prescription_state` >=", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateLessThan(Boolean value) {
            addCriterion("`prescription_state` <", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateLessThanOrEqualTo(Boolean value) {
            addCriterion("`prescription_state` <=", value, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateIn(List<Boolean> values) {
            addCriterion("`prescription_state` in", values, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateNotIn(List<Boolean> values) {
            addCriterion("`prescription_state` not in", values, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateBetween(Boolean value1, Boolean value2) {
            addCriterion("`prescription_state` between", value1, value2, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionStateNotBetween(Boolean value1, Boolean value2) {
            addCriterion("`prescription_state` not between", value1, value2, "prescriptionState");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeIsNull() {
            addCriterion("`prescription_time` is null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeIsNotNull() {
            addCriterion("`prescription_time` is not null");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeEqualTo(Date value) {
            addCriterion("`prescription_time` =", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeNotEqualTo(Date value) {
            addCriterion("`prescription_time` <>", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeGreaterThan(Date value) {
            addCriterion("`prescription_time` >", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("`prescription_time` >=", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeLessThan(Date value) {
            addCriterion("`prescription_time` <", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeLessThanOrEqualTo(Date value) {
            addCriterion("`prescription_time` <=", value, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeIn(List<Date> values) {
            addCriterion("`prescription_time` in", values, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeNotIn(List<Date> values) {
            addCriterion("`prescription_time` not in", values, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeBetween(Date value1, Date value2) {
            addCriterion("`prescription_time` between", value1, value2, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andPrescriptionTimeNotBetween(Date value1, Date value2) {
            addCriterion("`prescription_time` not between", value1, value2, "prescriptionTime");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkIsNull() {
            addCriterion("`doctor_remark` is null");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkIsNotNull() {
            addCriterion("`doctor_remark` is not null");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkEqualTo(String value) {
            addCriterion("`doctor_remark` =", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkNotEqualTo(String value) {
            addCriterion("`doctor_remark` <>", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkGreaterThan(String value) {
            addCriterion("`doctor_remark` >", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("`doctor_remark` >=", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkLessThan(String value) {
            addCriterion("`doctor_remark` <", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkLessThanOrEqualTo(String value) {
            addCriterion("`doctor_remark` <=", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkLike(String value) {
            addCriterion("`doctor_remark` like", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkNotLike(String value) {
            addCriterion("`doctor_remark` not like", value, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkIn(List<String> values) {
            addCriterion("`doctor_remark` in", values, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkNotIn(List<String> values) {
            addCriterion("`doctor_remark` not in", values, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkBetween(String value1, String value2) {
            addCriterion("`doctor_remark` between", value1, value2, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andDoctorRemarkNotBetween(String value1, String value2) {
            addCriterion("`doctor_remark` not between", value1, value2, "doctorRemark");
            return (Criteria) this;
        }

        public Criteria andExtralChargeIsNull() {
            addCriterion("`extral_charge` is null");
            return (Criteria) this;
        }

        public Criteria andExtralChargeIsNotNull() {
            addCriterion("`extral_charge` is not null");
            return (Criteria) this;
        }

        public Criteria andExtralChargeEqualTo(Double value) {
            addCriterion("`extral_charge` =", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeNotEqualTo(Double value) {
            addCriterion("`extral_charge` <>", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeGreaterThan(Double value) {
            addCriterion("`extral_charge` >", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("`extral_charge` >=", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeLessThan(Double value) {
            addCriterion("`extral_charge` <", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeLessThanOrEqualTo(Double value) {
            addCriterion("`extral_charge` <=", value, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeIn(List<Double> values) {
            addCriterion("`extral_charge` in", values, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeNotIn(List<Double> values) {
            addCriterion("`extral_charge` not in", values, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeBetween(Double value1, Double value2) {
            addCriterion("`extral_charge` between", value1, value2, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andExtralChargeNotBetween(Double value1, Double value2) {
            addCriterion("`extral_charge` not between", value1, value2, "extralCharge");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIsNull() {
            addCriterion("`doctor_id` is null");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIsNotNull() {
            addCriterion("`doctor_id` is not null");
            return (Criteria) this;
        }

        public Criteria andDoctorIdEqualTo(String value) {
            addCriterion("`doctor_id` =", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotEqualTo(String value) {
            addCriterion("`doctor_id` <>", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdGreaterThan(String value) {
            addCriterion("`doctor_id` >", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdGreaterThanOrEqualTo(String value) {
            addCriterion("`doctor_id` >=", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdLessThan(String value) {
            addCriterion("`doctor_id` <", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdLessThanOrEqualTo(String value) {
            addCriterion("`doctor_id` <=", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdLike(String value) {
            addCriterion("`doctor_id` like", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotLike(String value) {
            addCriterion("`doctor_id` not like", value, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdIn(List<String> values) {
            addCriterion("`doctor_id` in", values, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotIn(List<String> values) {
            addCriterion("`doctor_id` not in", values, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdBetween(String value1, String value2) {
            addCriterion("`doctor_id` between", value1, value2, "doctorId");
            return (Criteria) this;
        }

        public Criteria andDoctorIdNotBetween(String value1, String value2) {
            addCriterion("`doctor_id` not between", value1, value2, "doctorId");
            return (Criteria) this;
        }

        public Criteria andSeeLevelIsNull() {
            addCriterion("`see_level` is null");
            return (Criteria) this;
        }

        public Criteria andSeeLevelIsNotNull() {
            addCriterion("`see_level` is not null");
            return (Criteria) this;
        }

        public Criteria andSeeLevelEqualTo(Boolean value) {
            addCriterion("`see_level` =", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelNotEqualTo(Boolean value) {
            addCriterion("`see_level` <>", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelGreaterThan(Boolean value) {
            addCriterion("`see_level` >", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelGreaterThanOrEqualTo(Boolean value) {
            addCriterion("`see_level` >=", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelLessThan(Boolean value) {
            addCriterion("`see_level` <", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelLessThanOrEqualTo(Boolean value) {
            addCriterion("`see_level` <=", value, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelIn(List<Boolean> values) {
            addCriterion("`see_level` in", values, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelNotIn(List<Boolean> values) {
            addCriterion("`see_level` not in", values, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelBetween(Boolean value1, Boolean value2) {
            addCriterion("`see_level` between", value1, value2, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andSeeLevelNotBetween(Boolean value1, Boolean value2) {
            addCriterion("`see_level` not between", value1, value2, "seeLevel");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkIsNull() {
            addCriterion("`doctor_think` is null");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkIsNotNull() {
            addCriterion("`doctor_think` is not null");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkEqualTo(String value) {
            addCriterion("`doctor_think` =", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkNotEqualTo(String value) {
            addCriterion("`doctor_think` <>", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkGreaterThan(String value) {
            addCriterion("`doctor_think` >", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkGreaterThanOrEqualTo(String value) {
            addCriterion("`doctor_think` >=", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkLessThan(String value) {
            addCriterion("`doctor_think` <", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkLessThanOrEqualTo(String value) {
            addCriterion("`doctor_think` <=", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkLike(String value) {
            addCriterion("`doctor_think` like", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkNotLike(String value) {
            addCriterion("`doctor_think` not like", value, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkIn(List<String> values) {
            addCriterion("`doctor_think` in", values, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkNotIn(List<String> values) {
            addCriterion("`doctor_think` not in", values, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkBetween(String value1, String value2) {
            addCriterion("`doctor_think` between", value1, value2, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andDoctorThinkNotBetween(String value1, String value2) {
            addCriterion("`doctor_think` not between", value1, value2, "doctorThink");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNull() {
            addCriterion("`total_price` is null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIsNotNull() {
            addCriterion("`total_price` is not null");
            return (Criteria) this;
        }

        public Criteria andTotalPriceEqualTo(String value) {
            addCriterion("`total_price` =", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotEqualTo(String value) {
            addCriterion("`total_price` <>", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThan(String value) {
            addCriterion("`total_price` >", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceGreaterThanOrEqualTo(String value) {
            addCriterion("`total_price` >=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThan(String value) {
            addCriterion("`total_price` <", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLessThanOrEqualTo(String value) {
            addCriterion("`total_price` <=", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceLike(String value) {
            addCriterion("`total_price` like", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotLike(String value) {
            addCriterion("`total_price` not like", value, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceIn(List<String> values) {
            addCriterion("`total_price` in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotIn(List<String> values) {
            addCriterion("`total_price` not in", values, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceBetween(String value1, String value2) {
            addCriterion("`total_price` between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andTotalPriceNotBetween(String value1, String value2) {
            addCriterion("`total_price` not between", value1, value2, "totalPrice");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeIsNull() {
            addCriterion("`single_pres_fee` is null");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeIsNotNull() {
            addCriterion("`single_pres_fee` is not null");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeEqualTo(Double value) {
            addCriterion("`single_pres_fee` =", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeNotEqualTo(Double value) {
            addCriterion("`single_pres_fee` <>", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeGreaterThan(Double value) {
            addCriterion("`single_pres_fee` >", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("`single_pres_fee` >=", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeLessThan(Double value) {
            addCriterion("`single_pres_fee` <", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeLessThanOrEqualTo(Double value) {
            addCriterion("`single_pres_fee` <=", value, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeIn(List<Double> values) {
            addCriterion("`single_pres_fee` in", values, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeNotIn(List<Double> values) {
            addCriterion("`single_pres_fee` not in", values, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeBetween(Double value1, Double value2) {
            addCriterion("`single_pres_fee` between", value1, value2, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andSinglePresFeeNotBetween(Double value1, Double value2) {
            addCriterion("`single_pres_fee` not between", value1, value2, "singlePresFee");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("`pay_status` is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("`pay_status` is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(Byte value) {
            addCriterion("`pay_status` =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(Byte value) {
            addCriterion("`pay_status` <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(Byte value) {
            addCriterion("`pay_status` >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("`pay_status` >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(Byte value) {
            addCriterion("`pay_status` <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(Byte value) {
            addCriterion("`pay_status` <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<Byte> values) {
            addCriterion("`pay_status` in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<Byte> values) {
            addCriterion("`pay_status` not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(Byte value1, Byte value2) {
            addCriterion("`pay_status` between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("`pay_status` not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andCookFeeIsNull() {
            addCriterion("`cook_fee` is null");
            return (Criteria) this;
        }

        public Criteria andCookFeeIsNotNull() {
            addCriterion("`cook_fee` is not null");
            return (Criteria) this;
        }

        public Criteria andCookFeeEqualTo(Double value) {
            addCriterion("`cook_fee` =", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeNotEqualTo(Double value) {
            addCriterion("`cook_fee` <>", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeGreaterThan(Double value) {
            addCriterion("`cook_fee` >", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("`cook_fee` >=", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeLessThan(Double value) {
            addCriterion("`cook_fee` <", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeLessThanOrEqualTo(Double value) {
            addCriterion("`cook_fee` <=", value, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeIn(List<Double> values) {
            addCriterion("`cook_fee` in", values, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeNotIn(List<Double> values) {
            addCriterion("`cook_fee` not in", values, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeBetween(Double value1, Double value2) {
            addCriterion("`cook_fee` between", value1, value2, "cookFee");
            return (Criteria) this;
        }

        public Criteria andCookFeeNotBetween(Double value1, Double value2) {
            addCriterion("`cook_fee` not between", value1, value2, "cookFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeIsNull() {
            addCriterion("`deliver_fee` is null");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeIsNotNull() {
            addCriterion("`deliver_fee` is not null");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeEqualTo(Double value) {
            addCriterion("`deliver_fee` =", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeNotEqualTo(Double value) {
            addCriterion("`deliver_fee` <>", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeGreaterThan(Double value) {
            addCriterion("`deliver_fee` >", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("`deliver_fee` >=", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeLessThan(Double value) {
            addCriterion("`deliver_fee` <", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeLessThanOrEqualTo(Double value) {
            addCriterion("`deliver_fee` <=", value, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeIn(List<Double> values) {
            addCriterion("`deliver_fee` in", values, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeNotIn(List<Double> values) {
            addCriterion("`deliver_fee` not in", values, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeBetween(Double value1, Double value2) {
            addCriterion("`deliver_fee` between", value1, value2, "deliverFee");
            return (Criteria) this;
        }

        public Criteria andDeliverFeeNotBetween(Double value1, Double value2) {
            addCriterion("`deliver_fee` not between", value1, value2, "deliverFee");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}